# Enhanced Webhook

The Enhanced Webhook includes detailed transaction data in the payload and is signed with an HMAC signature to ensure authenticity and integrity.

Endpoint: POST /{merchantEnhancedWebhookUrl}
Version: 2.6.0

## Request fields (application/json):

  - `payId` (string, required)
    A unique identifier assigned by Smart Collect to the payment.

  - `transId` (string, required)
    Transaction ID created in your system; should be unique per payment.

  - `refNr` (string)
    Your reference number for the specific operation; used for reconciliation.

  - `status` (string, required)
    Status of the transaction.

  - `responseCode` (string, required)
    Response code of the transaction.

  - `responseDescription` (string, required)
    Response description associated with the response code.

  - `amount` (object, required)

  - `amount.value` (integer, required)
    Total order amount in the smallest currency unit.

  - `amount.currency` (string, required)
    3-character ISO currency code.

  - `paymentMethods` (array, required)
    Selected payment method(s).

  - `paymentMethods.type` (string, required)
    Payment method used for this transaction.
    Enum: "BANCONTACT", "CARD", "GOOGLEPAY", "IDEAL", "KLARNA", "MULTIBANCO", "PAYPAL", "PAYU", "WERO"

  - `creationDate` (string, required)
    Date and time when the order was created.

## Request examples:

  - `Default` (unknown)

## Response 2xx:

  - `2xx` (unknown)
    Successfully received and processed by merchant system

## Response 4xx:

  - `4xx` (unknown)
    Delivery will be retried according to Smart Collect retry policy

## Response 5xx:

  - `5xx` (unknown)
    Delivery will be retried according to Smart Collect retry policy

